import store from '@/store'
export function islogin(callback) {

    var token = wx.getStorageSync('sessionToken');
    
    if (token) return callback();

    wx.showLoading({
        title: '加载中',
    })
    setTimeout(function () {
        wx.reLaunch({ url: '../../pages/login/index' })
        wx.hideLoading()
    }, 300)

}
